package com.snail.clouds.storage.entity;

import lombok.Data;

import java.util.Date;

/**
 * 回收站项目
 */
@Data
public class TrashItem {
    private String itemId;
    private String name;
    private long size;
    private Date deletedTime;
    private boolean isFolder;
    
    public TrashItem() {}
    
    public TrashItem(String itemId, String name, long size, Date deletedTime, boolean isFolder) {
        this.itemId = itemId;
        this.name = name;
        this.size = size;
        this.deletedTime = deletedTime;
        this.isFolder = isFolder;
    }
}